package com.rslai.commons.validator.jsonvalidator;

/**
 * 待验证的包装bean
 */
public class ValidateObject {

    Object value;
    boolean order;
    boolean continueValidate;

    /**
     * 构造函数
     * @param value value
     */
    public ValidateObject(Object value) {
        this.value = value;
        continueValidate = true;
    }

    /**
     * 返回 value
     * @return value
     */
    public Object getValue() {
        return value;
    }

    /**
     * 设置 value
     * @param value value
     */
    public void setValue(Object value) {
        this.value = value;
    }

    /**
     * 是否order
     * @return boolean
     */
    public boolean isOrder() {
        return order;
    }

    /**
     * 设置order
     * @param order boolean
     */
    public void setOrder(boolean order) {
        this.order = order;
    }

    /**
     * 是否ContinueValidate
     * @return boolean
     */
    public boolean isContinueValidate() {
        return continueValidate;
    }

    /**
     * 设置ContinueValidate
     * @param continueValidate boolean
     */
    public void setContinueValidate(boolean continueValidate) {
        this.continueValidate = continueValidate;
    }

}
